﻿<Window x:Class="RegisterCodeGenerator.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="181" Width="451">
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="107*" />
			<ColumnDefinition Width="322*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="43*" />
			<RowDefinition Height="51*" />
			<RowDefinition Height="48*" />
		</Grid.RowDefinitions>
		<TextBlock Height="17" HorizontalAlignment="Left" Margin="12,12,0,0" Name="textBlock1" Text="到期时间：" VerticalAlignment="Top" Width="69" />
		<DatePicker Height="25" HorizontalAlignment="Left" Margin="13,8,0,0" Name="dpUseTime" VerticalAlignment="Top" Width="233" Grid.Column="1" />
		<TextBlock Height="17" HorizontalAlignment="Left" Margin="12,17,0,0" Name="textBlock2" Text="最晚注册时间：" VerticalAlignment="Top" Width="86" Grid.Row="1" />
		<DatePicker Height="25" HorizontalAlignment="Left" Margin="13,13,0,0" Name="dpRegisterTime" VerticalAlignment="Top" Width="233" Grid.Row="1" Grid.Column="1" />
		<Button Content="生成" Grid.Row="2" Height="26" HorizontalAlignment="Left" Margin="10,10,0,0" Name="btnGenerate" VerticalAlignment="Top" Width="84" Click="btnGenerate_Click" />
		<TextBox Grid.Column="1" Grid.Row="2" Height="24" HorizontalAlignment="Left" Margin="13,12,0,0" Name="txtResult" VerticalAlignment="Top" Width="288" />
	</Grid>
</Window>
